home *** CD-ROM | disk | FTP | other *** search
/ Power Hacker 2003 / Power_Hacker_2003.iso / Exploit and vulnerability / w00w00 / sectools / dsniff / trigger.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-05-18  |  746 b   |  33 lines

  1. /*
  2.   trigger.h
  3.  
  4.   Trigger interface.
  5.   
  6.   Copyright (c) 2000 Dug Song <dugsong@monkey.org>
  7.   
  8.   $Id: trigger.h,v 1.2 2000/05/18 20:20:04 dugsong Exp $
  9. */
  10.  
  11. #ifndef TRIGGER_H
  12. #define TRIGGER_H
  13.  
  14. #define TRIGGER_TCP_RAW_TIMEOUT        30
  15.  
  16. void    trigger_init(char *services);
  17. void    trigger_dump(void);
  18.  
  19. int    trigger_set_ip(int proto, char *name);
  20. int    trigger_set_udp(int port, char *name);
  21. int    trigger_set_tcp(int port, char *name);
  22. int    trigger_set_rpc(int program, char *name);
  23.  
  24. void    trigger_ip(struct ip *ip);
  25. void    trigger_udp(struct ip *ip);
  26. void    trigger_tcp(struct tcp_stream *ts, void **conn_save);
  27. void    trigger_tcp_raw(struct ip *ip);
  28. void    trigger_tcp_raw_timeout(int signal);
  29. void    trigger_rpc(int program, int proto, int port);
  30.  
  31. #endif /* TRIGGER_H */
  32.  
  33.